package cn.mxh.pethspt.entity;
/**
 * 药品表
 * */
public class Medicine {
    private Integer mId;//'药品id',
    private String mName;//'药品名称',
    private Double mBid;//'药品进价',
    private Double mPrice;//'药品售价',
    private Integer mCount;//'药品总数量',
    private String mIntroduce;//'药品介绍',
    private String mImgSrc;//'路径',
    private Integer hId;//'医院id',
    public Medicine(){

    }
    public Medicine(Integer mId, String mName, Double mBid, Double mPrice, Integer mCount, String mIntroduce, String mImgSrc, Integer hId) {
        this.mId = mId;
        this.mName = mName;
        this.mBid = mBid;
        this.mPrice = mPrice;
        this.mCount = mCount;
        this.mIntroduce = mIntroduce;
        this.mImgSrc = mImgSrc;
        this.hId = hId;
    }

    public Integer getmId() {
        return mId;
    }

    public void setmId(Integer mId) {
        this.mId = mId;
    }

    public String getmName() {
        return mName;
    }

    public void setmName(String mName) {
        this.mName = mName;
    }

    public Double getmBid() {
        return mBid;
    }

    public void setmBid(Double mBid) {
        this.mBid = mBid;
    }

    public Double getmPrice() {
        return mPrice;
    }

    public void setmPrice(Double mPrice) {
        this.mPrice = mPrice;
    }

    public Integer getmCount() {
        return mCount;
    }

    public void setmCount(Integer mCount) {
        this.mCount = mCount;
    }

    public String getmIntroduce() {
        return mIntroduce;
    }

    public void setmIntroduce(String mIntroduce) {
        this.mIntroduce = mIntroduce;
    }

    public String getmImgSrc() {
        return mImgSrc;
    }

    public void setmImgSrc(String mImgSrc) {
        this.mImgSrc = mImgSrc;
    }

    public Integer gethId() {
        return hId;
    }

    public void sethId(Integer hId) {
        this.hId = hId;
    }

    @Override
    public String toString() {
        return "Medicine{" +
                "mId=" + mId +
                ", mName='" + mName + '\'' +
                ", mBid=" + mBid +
                ", mPrice=" + mPrice +
                ", mCount=" + mCount +
                ", mIntroduce='" + mIntroduce + '\'' +
                ", mImgSrc='" + mImgSrc + '\'' +
                ", hId=" + hId +
                '}';
    }
}
